<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <title>比尼影视</title>
    <meta name=viewport content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <link rel="stylesheet" href="https://www.jq22.com/demo/hsycmsAalert202009062303/hsycmsAlert.css">
    <script src="/static/js/jquery.js"></script>
    <script src="https://www.jq22.com/demo/hsycmsAalert202009062303/hsycmsAlert.js"></script>
    <script>
        var anzhuoUrl = '';
        <?php
            $keyname = $_GET['keyname'];
        if (empty($keyname)) {
            $keyname = "everyonelovemovies";
        }

        switch ($keyname) {
            case 'everyonelovemovies':
                $keyname = "everyonelovemovies";
                echo "var iosjumpurl = 'https://apps.apple.com/cn/app/id1542175264';";
                echo "var anzhuoUrl = ''";
                break;
            case 'everyonelovemoviesanzhuo':
                $keyname = "everyonelovemovies";
                echo "var iosjumpurl = 'https://apps.apple.com/cn/app/id1542175264';";
                echo "var anzhuoUrl = ''";
                break;
        }
 ?>
    </script>
    <style type="text/css" media="all">

        .dayu-logo {
            width: 440px;
            margin: 0 auto;
            padding-bottom: 60px;
        }

        .dayu-logo img {
            width: 30%;
            margin: 0 auto;
            display: block;
            border-radius: 10px;
        }

        .index-btn {
            width: 310px;
            border-radius: 20px;
            position: relative;
            cursor: pointer;
            height: 70px;
            line-height: 70px;
            margin: 34px auto;
            display: flex;
            align-items: center;
            border: 1px solid #fff;
        }

        .index-btn img {
            width: 30px;
            margin-right: 24px;
            margin-left: 46px;
        }

        .index-content {
            width: 100%;
            /*height: 480px;*/
        }

        .index-btn span {
            display: inline-block;
            font-size: 20px;
            color: #fff;
            letter-spacing: 0;
            padding-left: 0;
            font-family: 微软雅黑;
            width: 114px;
            text-align: center;
        }

        .dayu-tishi {
            font-size: 14px;
            margin-top: 60px;
            color: #fff;
            text-align: center;
        }
        .dayu-tishi:last-child{
            margin-top: 0;
        }
        #zhezhao {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            text-align: right;
        }

        /*公共样式开始*/

        @media only screen and (min-width: 320PX) and (max-width: 360PX) {
            html {
                font-size: 13.65px
            }
        }

        @media only screen and (min-width: 360PX) and (max-width: 375PX) {
            html {
                font-size: 15.36px;
            }
        }

        @media only screen and (min-width: 375PX) and (max-width: 390PX) {
            html {
                font-size: 16px
            }
        }

        @media only screen and (min-width: 390PX) and (max-width: 414PX) {
            html {
                font-size: 16.64px
            }
        }

        @media only screen and (min-width: 414PX) and (max-width: 640PX) {
            html {
                font-size: 17.664px;
            }
        }

        @media screen and (min-width: 640PX) {
            html {
                font-size: 27.31px
            }

        }

        @media only screen and (min-width: 320PX) and (max-width: 640PX) {

            .dayu-logo {
                width: 16.4rem;
                padding-bottom:1.4rem;
            }

            .dayu-logo img {
                width: 30%;
                border-radius: 0.5rem;
            }

            .index-btn {
                width: 9.5rem;
                border-radius:0.5rem;
                height: 2.1rem;
                line-height: 2.1rem;
                margin: 1.1rem auto;
                border: 1px solid #fff;
            }

            .index-btn img {
                width: 1rem;
                margin-right: 0.55rem;
                margin-left: 1.2rem;
            }

            .index-content {
                width: 100%;
            }

            .index-btn span {
                font-size: 0.8125rem;
                width: 4rem;
            }

            .dayu-tishi {
                margin-top: 3.5rem;
                font-size: 0.75rem;
            }
        }
        body, html {
            margin: 0;
        }

        div#app {
            width: 100%;
            height: 100%;
            position: absolute;
            background: #bd2f24;
        }

        .index-box {
            width: 100%;
            height: 100%;
            background: url() no-repeat #bd2f24;
            display: flex;
            justify-content: center;
            align-items: center;
            background-size: cover;
        }

        #zhezhao img {
            width: 80%;
            margin-top: 1%;
            margin-right: 2.5%;
        }

        * {
            moz-user-select: -moz-none;
            -moz-user-select: none;
            -o-user-select: none;
            -khtml-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            user-select: none;
            box-sizing: initial;
        }


    </style>
</head>
<body>
<div id="app">
    <div class="index-box">
        <div class="l_topbar">
            <div class="l_topbarmain"></div>
        </div>
        <div class="index-content">
            <div class="dayu-logo">
                <img src="./share/<?php echo $keyname;?>/erweima.png?<?php echo time();?>" alt="">
            </div>
            <div class="btn-box">

                <!--onclick="alert('请您敬请期待')"-->
                <!-- onclick="location.href='https://apps.apple.com/cn/app/id1532850386'"-->
                <div class="index-btn" id="ios" onclick="location.href=iosjumpurl">
                    <img src=""
                         alt="">
                    <span>iPhone版</span>
                </div>
                <div class="index-btn" onclick="alert('敬请期待！')"> <!-- id="anzhuo"-->
                    <img src=""
                         alt="">
                    <span>敬请期待<!--安卓版--></span>
                </div>
                <div class="index-btn" onclick="location.href=iosjumpurl"> <!-- onclick="alert('敬请期待！')"-->
                    <img src=""
                         alt="">
                    <span><!--敬请期待-->iPad</span>
                </div>
                <div class="dayu-tishi">邮箱：leshetkns@hotmail.com</div>
                <div class="dayu-tishi">官方网站：<a href="http://www.biniok.xyz/newfenxiang.php" style="color:#fff;">biniok.xyz</a></div>
            </div>
        </div>
    </div>
</div>
<div id="zhezhao">
    <img src="live_weixin.png?123" alt=""/>
</div>
<div class="hsycms-model-mask" id="mask-alert"></div>
<div class="hsycms-model hsycms-model-alert" id="alert">
    <div class="hscysm-model-title">温馨提示</div>
    <div class="hsycms-model-text">这里是内容</div>
    <div class="hsycms-model-btn">
        <button type="button ok">确定</button>
    </div>
</div>
<script>
    var ua = navigator.userAgent.toLowerCase();

    $("#anzhuo").click(function () {
        if (ua.match(/MicroMessenger/i) == "micromessenger") {
            $("#zhezhao").toggle();
        } else if (ua.match(/qq/i) == "qq") {
            if (ua.match(/mqqbrowser/i) == "mqqbrowser") {
                //location.href='http://guqiyingshi.app.bucuo.online/'
                location.href = anzhuoUrl
            } else {
                $("#zhezhao").toggle();
            }
        } else {
            //location.href='http://guqiyingshi.app.bucuo.online/'
            location.href = anzhuoUrl
        }
    })
    $("#zhezhao").click(function () {
        $("#zhezhao").toggle();
    })

    //  onclick="location.href='https://apps.apple.com/cn/app/id1528937351'"

    //普通弹窗
    function alert(txt) {
        hsycms.alert('alert', txt, function () {
            hsycms.close('alert');
            console.log("点击了确定");
        })
    }

    apiready = function () {
        api.addEventListener({
            name: 'navitembtn'
        }, function () {
            api.closeWin();
        });
    }
</script>
</body>
</html>